package com.fy.fyai.service.downloaddecorator.decorator;

import com.fy.fyai.service.downloaddecorator.AbstractDownloadDecorator;
import com.fy.fyai.service.downloaddecorator.DownloadComponent;
import com.fy.fyai.service.downloaddecorator.component.FileInfo;
import lombok.extern.slf4j.Slf4j;

/**
 * @author fwq
 * @description SVIP用户下载装饰器（已废弃，使用RateLimitDecorator替代）
 * @deprecated 请使用 {@link com.fy.fyai.service.downloaddecorator.decorator.rate.RateLimitDecorator}
 * @date 2025-11-03 20:15
 */
@Deprecated
@Slf4j
public class SvipDownloadDecorator extends AbstractDownloadDecorator {

    public SvipDownloadDecorator(DownloadComponent downloadComponent) {
        super(downloadComponent);
    }

    @Override
    protected FileInfo enhanceDownload(String fileId, FileInfo fileInfo) {
        log.info("SVIP装饰器：为文件 {} 提供SVIP极速下载服务", fileId);
        return fileInfo;
    }
}
